package com.aiti.lulian.gxmh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * description:
 * auth fcb
 * date 2025-07-05 17:03
 **/

@Data
@ApiModel(value = "自定义表单内容元数据",description = "")
@TableName(value="gxmh_customize_form_meta")
public class GxmhCustomizeFormMeta {

    /** 主键 */
    @ApiModelProperty(name = "主键",notes = "")
    @TableId(value = "base_id",type = IdType.INPUT)
    private String baseId ;

    /** 自定义表单表主键 */
    @ApiModelProperty(name = "自定义表单表主键",notes = "")
    @TableField(value = "form_id")
    private String formId ;

    /** 字段名称 */
    @ApiModelProperty(name = "字段名称",notes = "")
    @TableField(value = "field_name")
    private String fieldName ;

    /** 字段类型 */
    @ApiModelProperty(name = "字段类型",notes = "")
    @TableField(value = "field_type")
    private String fieldType ;

    /** 是否必填，1：必填，0：非必填 */
    @ApiModelProperty(name = "是否必填，1：必填，0：非必填",notes = "")
    @TableField(value = "not_empty")
    private Integer notEmpty ;

    /** 单选或多选选项json */
    @ApiModelProperty(name = "单选或多选选项json",notes = "")
    @TableField(value = "item_list")
    private String itemList ;

    /** 排序 */
    @ApiModelProperty(name = "排序",notes = "")
    @TableField(value = "sort")
    private Integer sort ;
}
